package com.company.cloud.sdk.core.constant;

public enum SdkReturnEnum {
    SUCCESS("0", "Success"),
    PARAM_NULL("1", "参数为空"),
    PARAM_ERROR("2", "参数错误"),
    DATA_NOT_EXISTS("3", "数据不存在"),
    DATA_EXISTS("4", "数据已存在"),
    SYSTEM_ERROR("5", "系统错误"),
    WX_Cofig_ERROR("6", "微信配置错误"),
    CompanyNo_NULL("7", "公司编号为空"),
    SIGN_ERROR("-1", "签名错误"),
    NOT_AUTHC("-2", "无操作权限"),
    NOT_LOGIN("-3", "您尚未登录，请先登录"),
    NOT_MOBILE("-4", "您未绑定手机，请先绑定手机"),
    Security_Config_Error("-5", "权限配置错误"),
    WX_OpenID_Read_Error("1429", "微信OpenID读取错误");

    private String code;
    private String msg;

    private SdkReturnEnum() {
    }

    private SdkReturnEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
